From: Colin Walters Date: Wed, 23 Aug 2017 17:03:39 +0000 (-0400) Subject: bin/main: Remove duplicated usage output on unknown commands X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~32^2~67 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=882fa906e2df2af1870b620d1482a00607337b60;p=ostree.git bin/main: Remove duplicated usage output on unknown commands It's been this way for a long time, though not forever; I went back to v2014.11 as a random choice and it worked then. Not going to bother doing a full archive search for this though. Anyone who wants more context can help themselves. Closes: https://github.com/ostreedev/ostree/issues/1096 Closes: #1106 Approved by: jlebon --- diff --git a/src/ostree/ot-main.c b/src/ostree/ot-main.c index 7b906bfa..c8c3490e 100644 --- a/src/ostree/ot-main.c +++ b/src/ostree/ot-main.c @@ -185,9 +185,6 @@ ostree_run (int argc, } } - help = g_option_context_get_help (context, FALSE, NULL); - g_printerr ("%s", help); - goto out; }